<?php
require_once ('../../public/config/config.php');
require_once ('../class/GiveBack.class.php');
$gb = GiveBack::GetReturn($_SESSION['userID'], $_POST['bookcode']);
// print_r($gb);
// echo $gb;
if($gb == false){
	echo false;
}else{
	$bookInfo = json_encode($gb);
	echo $bookInfo;
}
?>